<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

    </style>
</head>

<body>
    <div id="app">
        <select v-model.number="num">
            <option value="1">单间</option>
            <option value="2">双人间</option>
            <option value="3">三人间</option>
        </select>
        <br />
        <div v-for="i in num">
            身份证号码{{i}}： <input type="text" >
        </div>
    </div>

    </div>
</body>

</html>
<script src="./js/vue2.js"></script>
<script>


    let vm = new Vue({
        el: "#app",
        data: {
            num: 1
        },
        methods: {

        }
    });

</script>